package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.BuyerCarBean;
import com.project.bean.BuyerInfoBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.Mapping;

import java.util.List;

@Mapper
public interface IBuyerInfoMapper extends BaseMapper<BuyerInfoBean> {
    void addBuyerInfo(@Param("list") List<BuyerCarBean> list,
                            @Param("BuyerId") Integer BuyerId);

    List<BuyerInfoBean> findList(Integer buyerId);
}
